package edu.bw.dao;

import edu.bw.dto.SelectUserByConditionForm;
import edu.bw.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserDao {
     Integer userLogin(User user);

    List<Map<String, Object>> selectUserByCondition(SelectUserByConditionForm selectCondition);

    Long selectUserByConditionCount(SelectUserByConditionForm selectCondition);

    Integer insert(User user);

    List<Map<String, Object>> selectById(Integer userId);

    Integer update(User user);

    Integer deleteUserByIds(List<Integer> ids);
}
